package com.eian.boot.common.core.constants;

import com.google.common.collect.Lists;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author alex.meng
 * @createTime 2025-08-27
 * @description 通用常量
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class CommonConstants {
    /* 查询排序 */
    public static final boolean ORDER_ASC = true;
    public static final boolean ORDER_DESC = false;
    /* 连接符 */
    public static final String SEPARATOR = ",";
    public static final String SLASH = "/";
    // 中文数字单位
    public static final List<String> CN_NUMBERS = Lists.newArrayList("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖");
    // 中文整数单位
    public static final List<String> CN_INTEGER_UNITS = Lists.newArrayList("", "拾", "佰", "仟");
    // 中文整数大单位
    public static final List<String> CN_GROUP_UNITS = Lists.newArrayList("", "万", "亿", "兆");
    // 中文小数单位
    public static final List<String> CN_DECIMAL_UNITS = Lists.newArrayList("角", "分", "厘", "毫");
}
